package com.fz.service.project;

import com.fz.common.ResponseEntity;
import com.fz.dto.project.projectWinner.ProjectWinnerAdd;
import com.fz.dto.project.projectWinner.ProjectWinnerQuery;
import com.fz.dto.project.projectWinner.ProjectWinnerUpd;
import com.fz.vo.project.projectWinner.ProjectWinnerVo;

/**
 * @author :xmj
 * @date :2021/3/26 上午9:53
 */
public interface ProjectWinnerService {
    /**
     * 查询中标候选人信息--分页
     *
     * @param pageNum            页码
     * @param pageSize           页数
     * @param projectWinnerQuery 查询条件
     * @return
     */
    ResponseEntity<ProjectWinnerVo> findProjectWinnerList(Integer pageNum, Integer pageSize, ProjectWinnerQuery projectWinnerQuery);

    /**
     * 新增中标候选人信息
     *
     * @param projectWinnerAdd 中标候选人信息
     * @return
     */
    ResponseEntity<ProjectWinnerVo> saveProjectWinner(ProjectWinnerAdd projectWinnerAdd);

    /**
     * 修改中标候选人信息
     *
     * @param projectWinnerUpd 中标候选人信息
     * @return
     */
    ResponseEntity<ProjectWinnerVo> updateProjectWinner(ProjectWinnerUpd projectWinnerUpd);

    /**
     * 中标候选人信息
     *
     * @param ids  主键ID以逗号分割
     * @return
     */
    ResponseEntity<ProjectWinnerVo> delProjectWinner(String ids);
}
